﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebServer.Remote
{
    public class CustomSoapHeader:System.Web.Services.Protocols.SoapHeader
    {
        public CustomSoapHeader()
        { 
        }
        public CustomSoapHeader(string Uname,string Upwd)
        {
            this.uname = Uname;
            this.Upwd = Upwd;
        }
        public string uname { get { return uname; } set { this.uname = value; } }
        public string Upwd { get { return Upwd; } set { this.Upwd = value; } }
        public bool Validate()
        {
            return this.uname.Contains("三五八团楚云飞") && this.Upwd.Contains("1"); 
        }
    }
}